package org.luxor.commons.selenium.config.properties;

/**
 * 代理配置
 *
 * @author Mr.yan  @date 2022/10/31
 */
public class SeleniumProxy {

    /**
     * http proxy scheme
     */
    private ProxyScheme scheme;

    /**
     * http proxy host
     */
    private String host;

    /**
     * http proxy port
     */
    private int port;


    public SeleniumProxy(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public ProxyScheme getScheme() {
        return scheme;
    }

    public void setScheme(ProxyScheme scheme) {
        this.scheme = scheme;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "SeleniumProxy{" +
                "scheme='" + scheme + '\'' +
                ", host='" + host + '\'' +
                ", port=" + port +
                '}';
    }
}
